package com.graduation.mybatis.mapper;

import com.graduation.mybatis.bean.Food;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 23726
* @description 针对表【food】的数据库操作Mapper
* @createDate 2025-03-29 19:55:38
* @Entity com.graduation.mybatis.bean.Food
*/
public interface FoodMapper extends BaseMapper<Food> {
    List<Food> selectByCategory(@Param("category") String category);

    List<Food> searchFoodsByKeyword(String trim);
}




